package com.neusoft.tijiancms.controller;

import com.neusoft.tijiancms.po.Cidetailedreport;
import com.neusoft.tijiancms.service.CidetailedreportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/CidetailedreportController")
public class CidetailedreportController {
    @Autowired
    private CidetailedreportService cidetailedreportService;

    @RequestMapping("/updateCidetailedreport")
    public int updateCidetailedreport(@RequestBody List<Cidetailedreport> list){
        return cidetailedreportService.updateCidetailedreport(list);
    }
}
